package com.test.springboot.demo.service.impl;

import com.test.springboot.demo.dao.game.ChartDataDAO;
import com.test.springboot.demo.pojo.HourRegistData;
import com.test.springboot.demo.service.CharService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChartServiceImpl implements CharService {

    @Autowired
    private ChartDataDAO chartDataDAO;


    @Override
    public List<HourRegistData> getHourRegistData(Integer gameId, String date) {
        return chartDataDAO.getHourRegistData(gameId,date);
    }
}
